def map(func,seq):
	mapped_seq=[]
	for e in seq:
		mapped_seq.append(func(e))
	return mapped_seq

print map((lambda x:x+2),[0,1,2,3,4,5])
print map(lambda x: x**3, range(6))
